package com.aaa.doctor.dao;


import com.aaa.entity.CareHistory;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

public interface CareHistoryDao extends BaseMapper<CareHistory> {

    List<CareHistory> getCareHistoryByPatientId(String patientId);

    /**
     * 根据挂号单ID查询对应的病历信息
     * @param registrationId
     * @return
     */
    List<CareHistory> getCareHistoryByRegId(String registrationId);
}
